package jj.fly.cloud.fiegn;

import jj.fly.config.Configuration2;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "xxx", url = "http://localhost:8761", configuration = Configuration2.class)
public interface UserFiegnClient2 {

    @RequestMapping(value = "/eureka/apps/{serviceName}")
    String findEurakaByServiceName(@PathVariable("serviceName") String serviceName);

}
